<table class="table table-bordered">

	<tbody class="lg_msg">
	@if(!null==$data)
		@foreach($data as $v)
			<tr>
			<tr>
				<th>&nbsp</th>
				<th>&nbsp</th>
			</tr>
			<tr>
				<th>时间</th>
				<th scope="row">{{date('Y-m-d H:i:s',$v['lg_time'])}}</th>
			</tr>
			<tr>
				<th>设备编号</th>
				<td>{{$v['lg_num']}}</td>
			</tr>
			<tr>
				<th>DevEUI</th>
				<td><a href="/admin/device?&ag={{$get['ag']}}&eui={{$v['lg_eui']}}">{{$v['lg_eui']}}</a></td>
			</tr>
			<tr>
				<th>区域</th>
				<td>{{$v['lg_a_name']}}</td>
			</tr>
			<tr>
				<th>建筑楼层</th>
				<td>{{$v['lg_b_name']}}</td>
			</tr>
			<tr>
				<th>房间</th>
				<td>{{$v['lg_r_name']}}</td>
			</tr>
			<tr>
				<th>所在楼层</th>
				<td>{{$v['lg_floor']}}</td>
			</tr>
			<tr>
				<th>应用</th>
				<td>{{$v['lg_Type']}}</td>
			</tr>
			<tr>
				<th>报警类型</th>
				<td>{{$v['lg_genre']}}</td>
			</tr>
			<tr>
				<th>温度</th>
				<td>{{$v['lg_degree']}}<strong>℃</strong></td>
			</tr>
			<tr>
				<th>信号质量</th>
				<td>{{$v['lg_lsnr']}}</td>
			</tr>
			</tr>
		@endforeach
	@endif
	</tbody>
</table>